Skip to content

Conversation

@danieldegrasse
Copy link
Contributor

Add scripts to parse Kinetis signal XML files, as well as MEX files. The script kinetis_gen_dts.py will generate pinctrl groups from a provided MEX file, and the script kinetis_gen_headers.py will parse all signal.xml files for a provided processor, and output those signal XML files as header file definitions that pinctrl groups can utilize.

This PR is based off the work in #84, but has updated the parsing code to support MEX files, as well as use classes instead of functions, in order to be more in line with #133

Rework signal2dts script to generate pin groups, and pinctrl
headers. Script was reworked to use classes, as well as expose a similar
interface to iMX RT and LPC configuration scripts

Signed-off-by: Daniel DeGrasse <[email protected]>
Add wrapper script around kinetis_cfg_tools.py for generating pinctrl
groups for kinetis parts

Signed-off-by: Daniel DeGrasse <[email protected]>
Add script that will generate pinctrl headers for all kinetis SOC
packages in a given processor path.

Signed-off-by: Daniel DeGrasse <[email protected]>
__pycache__ files are generated when running signal xml parse scripts.
Add gitignore file to avoid these being committed.

Signed-off-by: Daniel DeGrasse <[email protected]>
@dleach02 dleach02 merged commit bfcff02 into zephyrproject-rtos:master Mar 25, 2022
@dleach02 dleach02 deleted the kinetis-cfg-tools branch March 25, 2022 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants